﻿namespace l1cs_cl.client.receivepackets
{
    public class R_NewCharPack : ReceiveBasePacket
    {
        public Character chardata = null;
        public R_NewCharPack( byte[] abyte0 )
            : base( abyte0 )
        {
            if ( abyte0 != null )
            {
                chardata = new Character();
                chardata.name = readS();
                chardata.clanName = readS();
                chardata.type = readC();
                chardata.sex = readC();
                chardata.lawful = readH();
                chardata.hp = readH();
                chardata.mp = readH();
                chardata.ac = readC();
                chardata.lv = readC();
                chardata.str = readC();
                chardata.dex = readC();
                chardata.con = readC();
                chardata.wis = readC();
                chardata.cha = readC();
                chardata.intel = readC();
            }
        }
    }
}
